{include file="../parts/side_menu.tpl"}
<div id="text">
	<div id="text_top">
		<div id="text_top_left"></div>
		<div id="text_top_right"></div>
	</div>
	<div id="text_body">
  <h1>An error occurred</h1>
  <h2>{$message}</h2>

{if isset($exception)}
  
  <h3>Exception information:</h3>
  <p>
      <b>Message:</b> {$exception->getMessage()}
  </p>

  <h3>Stack trace:</h3>
  <pre>{$exception->getTraceAsString()}
  </pre>

  <h3>Request Parameters:</h3>
  <pre>
  {foreach from=$request->getParams() key=name item=val}
  [{$name}]=>{$val}
  {/foreach}
  </pre>

{/if}
	</div>
	<div id="text_bottom">
		<div id="text_bottom_left"></div>
		<div id="text_bottom_right"></div>
	</div>
</div>
